COMPUTE_MESH_NORMALS

The COMPUTE_MESH_NORMALS function computes normal vectors for a set of polygons described by the input array.

Syntax

Result = COMPUTE_MESH_NORMALS( fVerts[, iConn] )

Return Value

Returns a 3 x M array containing a unit normal for each vertex in the input array.

Arguments

fVerts

A 3 x M array of vertices.

iConn

A connectivity array (see the POLYGONS keyword to IDLgrPolygon::Init). If no iConn array is provided, it is assumed that the vertices in fVerts constitute a single polygon.

Keywords

None.

Version History

5.1

Introduced